package software_construction.calcu_03_demo;

public class AddEquation extends Equation{

    public AddEquation() {
        super("+");
    }

    @Override
    protected int calculate() {
        return this.getLeftNum()+this.getRightNum();
    }
}
